package com.example.demo.service.impl;

import com.example.demo.bean.User;
import com.example.demo.service.UserService;

/**
 * @author: zhushl
 * @Date: 2021-05-14 09:05
 * @Description:
 */
public class UserServiceImpl implements UserService {

    private  User user;

    public UserServiceImpl(User user){
        this.user = user;
        System.out.println("useruser--------------");
    }
    public UserServiceImpl(){
        System.out.println("userserviceimpl************");
    }
    @Override
    public int save(User user) {
        System.out.println("调用了当前方法");
        return 0;
    }
}
